%h2{:class=>"content_header"} #{t(:invitations_sent_title)}

.user_info_zone
  =t(:invitations_sent_points, :points=>@points)

-if @user_invitation_with_points.size > 0
  .big_title
    =t(:invitations_sent_new)
  .div
    -for ui in @user_invitation_with_points
      %fb:profile-pic{:uid=>ui.invited_user_fb_uid}
      %fb:name{:uid=>ui.invited_user_fb_uid}
  



-if @user_invitation_with_no_points.size > 0
  .big_title
    =t(:invitations_sent_repeated)
  .div
    -for ui in @user_invitation_with_no_points
      %fb:profile-pic{:uid=>ui.invited_user_fb_uid}
      %fb:name{:uid=>ui.invited_user_fb_uid}


-if @email_invitation_with_points.size > 0
  .big_title
    =t(:invitations_sent_email_new)
  .div
    %ul
    -for ui in @email_invitation_with_points
      %li
        =ui.invited_user_email  

-if @email_invitation_with_no_points.size > 0
  .big_title
    =t(:invitations_sent_email_repeated)
  .div
    %ul
    -for ui in @email_invitation_with_no_points
      %li
        =ui.invited_user_email  

      
.big_title
  =t(:campaign_how_to_win_more_title)
.action_required
  =link_to t(:campaign_invite_now_friends), new_invitation_url
%p
  =image_tag("icon_friends.gif")
  =t(:campaign_invite_friends_win_points,:points=>@current_user.active_campaign.points_invite_friends)

.action_required
  =link_to t(:campaign_add_new_video_now), new_user_video_url(@current_user)
%p
  =image_tag("icon_add.gif")
  =t(:campaign_submit_content_win_points,:points=>@current_user.active_campaign.points_submit_content)

.action_required
  =link_to t(:campaign_see_all_videos_now), videos_url
%p
  =image_tag("icon_comment.gif")
  =t(:campaign_comment_content_win_points,:points=>@current_user.active_campaign.points_comment_content)
%p
  =image_tag("icon_like.gif")
  =t(:campaign_vote_content_win_points,:points=>@current_user.active_campaign.points_vote_content)

  
  
  
  